<template>
  <div class="main">
    <keep-alive>
      <router-view v-if="keepAlive" />
    </keep-alive>
    <router-view v-if="!keepAlive" />
  </div>
</template>

<script lang="ts">
import { Vue, Component } from 'vue-property-decorator'
import { State, Getter, namespace } from 'vuex-class'

@Component
export default class RouteView extends Vue {
  get keepAlive() {
    return []
    // return this.$route.meta.keepAlive
  }
}
</script>

<style scoped>
</style>
